package cn.tedu._05weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 评论列表VO
 */
@Data
public class CommentVO {
    // 评论内容 评论发布时间 评论id 用户昵称
    @ApiModelProperty(value = "评论内容")
    private String content;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "Asia/Shanghai")
    @ApiModelProperty(value = "评论发布时间")
    private Date created;
    @ApiModelProperty(value = "评论ID")
    private Long id;
    @ApiModelProperty(value = "昵称")
    private String nickname;
}
